<?php
if (! defined ( 'VERSION' )) {
	exit ();
}



 //以下是twip 的设置
 
require('twip.php');
$options['webroot'] = '/twip';    //把这个设置成twip所在的目录 set this option to '/' if you are using host root
$options['debug'] = false;
$options['dolog'] = true;       //是否记录日志
$options['logfile'] = 'log.txt';  //日志文件名
$options['replace_shorturl'] = false; //这个建议默认,不然tweetie无法使用
$options['docompress'] = false;
$options['cgi_workaround'] = false; //change this to "YES I DO NEED THE WORKAROUND!" to make this work
$options['parent_api'] = 'http://twitter.com';
$options['parent_search_api'] = 'http://search.twitter.com';

/*
 *if you want to setup an API for limited users
 *set private_api true and set allowed_users accordinary
 *no space is allowed in allowed_users variable
 *seperate users using comma.
 *如果这个api只是给特定的帐号使用,请把把下面的false改成true,再把user_1等改成twitter用户名
 */
$options['private_api'] = array(
        false,
        "allowed_users" => "user_1,user_2,user_3",
);
        


//以下是tw2other的设置

define ( 'INTERVAL', 50 );

$twitterApi = 'http://twitter.com/';

//你的twitter用户名
$twitterUser = 'yaofur';

/**
 * 0：不过滤
 * 1：过滤回复别人的tweet
 * 2：过滤RT别人的推	
 * 3：只同步自己的tweet,推中不包含RT,@字样
 *  
 */
$twitterSyncLevel = 1;

/**
 * 请填写你的follow5 api_key
 * 如果不同步到follow5，就不用填写
 * 获取follow5 api_key的办法见follow5主页
 * 关于为什么不公开提供api_key
 * 详见：http://cuies.com/post/now-the-follow5-model-in-tw2other-is-not-public.html
 */
$follow5ApiKey = '';

//username对应登录名
//password对应登录密码
$services = array ("sina" => array ('username'=>'登录名', 'password' => '' ), 
					"digu" => array ('username' => '登录名', 'password' => '' ),
					"zuosa" => array ('username' => 'your_username', 'password' => '' ), 
					"follow5" => array ('username' => 'your_username', 'password' => '' ),
					"renjian" => array ('username' => 'your_username', 'password' => '' ),
					"douban" => array ('username' => '邮箱', 'password' => '' ), 
					"xianguo" => array ('username' => 'your_email', 'password' => '' ),
/*T9911就是9911.com*/ "t9911" => array ('username' => 'your_username', 'password' => '' ), 
					"renren" => array ('username' => '登录邮箱', 'password' => '' ),
					 );



?>